\documentclass{article}
\usepackage{luatextra}  
\begin{document}
This is \LuaLaTeX
\directlua{
	for i=1,5 do
	  	tex.print("hello"..i)
	end
}

\end{document}
